package com.example.springboot.service;

import com.example.springboot.domain.Like;
import com.example.springboot.mapper.LikeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public interface LikeService {

    public void set(Like like);

    public Like selectUserLikes(Integer fid, String module);

    public int selectByFidAndModule(Integer fid, String module);

    public void deleteById(Integer id);
}
